# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=acccheck
pkgver=0.2.1
pkgrel=7
groups=('blackarch' 'blackarch-cracker')
pkgdesc='A password dictionary attack tool that targets windows authentication via the SMB protocol.'
url='http://labs.portcullis.co.uk/tools/acccheck/'
arch=('any')
license=('GPL2')
depends=('perl' 'smbclient')
source=("http://labs.portcullis.co.uk/download/$pkgname-${pkgver//./-}.tar.gz")
sha512sums=('28c1c5fa465e14d5447c42f539b95d436f303de801f6687d4cf22bd9f77371c68f84ad7b655c845bc42b6bdab851c379a72081feea2e1860e6619c089447238b')

package() {
  cd "$pkgname-${pkgver//./-}"

  install -Dm 755 "$pkgname.pl" "$pkgdir/usr/bin/$pkgname"
  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" README.TXT
}

